<table width="190" height="100" border="1" align="center" cellpadding="0" cellspacing="1" bgcolor="#FCD424">
  <tr >
    <td valign="top" bgcolor="#FFFFFF">
      <table width="190" height="24" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td background="images/dh_back_1.gif">&nbsp;&nbsp;<img src="images/biao.gif" width="10" height="9"><a style="color:#000" href="/index.php?id=<?php echo '登陆'?>">登录</a></td>
        <td background="images/dh_back_1.gif">&nbsp;&nbsp;<img src="images/biao.gif" width="10" height="9"><a style="color:#000" href="/index.php?id=<?php echo '注册登录'?>">注册</a></td>
      </tr>
    </table>
      <table id="table1"width="180" height="80" border="0" align="center" cellpadding="0" cellspacing="0" style="">
       <script language="javascript">
   function chkinputlogin(form){
     if(form.usernc.value==""){
     alert("123123");
     form.usernc.focus();
     return(false);
   }

    if(form.userpwd.value==""){
     alert("123123213");
     form.userpwd.focus();
     return(false);
   }
   return(true);

   }
 </script>
 <?php
switch($id){
case "注册登录":
     include "tb_register.php";
 break;
case "登录":
     include "tb_login.php";
 break;

default:
     include "tb_login.php";
 break;

}
?>


      </table>
      <table width="180" height="80" border="1" align="center" cellpadding="0" cellspacing="0" >
          <tr align="center">
            <td>
              <span id="welcome">欢迎光临:小汪 登陆</span>
            </td>
          </tr>

      </table>

    </td>
  </tr>

</table>
